package com.kymatrix.mpo.plus.bpm.server.model.form.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel(value = "管理后台 - BPM 流程分类修改 Request")
@Data
@Accessors(chain=true)
public class UpdateBpmCategoryReq {

    @ApiModelProperty(value = "分类编号", example = "3167")
    @NotEmpty(message = "分类id不能为空")
    private String id;

    @ApiModelProperty(value = "分类名", example = "王五")
    @NotEmpty(message = "分类名不能为空")
    private String name;

    @ApiModelProperty(value = "分类描述", example = "你猜")
    private String description;

    @ApiModelProperty(value = "分类标志", example = "OA")
    @NotEmpty(message = "分类标志不能为空")
    private String code;

    @ApiModelProperty(value = "分类状态 EnableType", example = "1")
    @NotNull(message = "分类状态不能为空")
    private String status;

    @ApiModelProperty(value = "分类排序")
    @NotNull(message = "分类排序不能为空")
    private Integer sort;

}
